from datetime import datetime,date,time
dttd=datetime.today()
print(dttd)
d=date(2020,12,12)
t=time(8,8,8,8)
dt=datetime.combine(d,t)
print(dt)
dtistr=dt.isoformat()
dtstr=dt.strftime('%Y年%m月%d日%H时%M分%S秒%f微秒')
print(dtistr,dtstr)
u=dt.replace(year=2000,hour=20)
print(u)
